package db8;

public class Car extends Vehicle{
    private int loader;
    public Car(){

    }
    public Car(String brand,String color,double speed,int loader){
        super(brand,color,speed);
        this.loader=loader;
    }

    public int getLoader() {
        return loader;
    }

    public void setLoader(int loader) {
        this.loader = loader;
    }
    @Override
    public void run(){
        System.out.println("轿车功能");
    }
}
